<!DOCTYPE html>
<html>
    <head>
        <title>事件绑定</title>
        <script src="../../src/event/event-bind.js"></script>
    </head>
    <body>
        <ul id="items">
            <li>AAAA</li>
            <li>BBBB</li>
            <li>CCCC</li>
            <li>DDDD</li>
            <div>EEEE</div>
        </ul>
        <script>
            // 事件绑定
            addEventListener('#items', 'click', function (e) {
                console.log(this.innerHTML)
            }, 'li')
        </script>
    </body>
</html>